package com.wyh.mapper.g3mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wyh.domain.po.g3po.G3Contract;
import com.wyh.domain.po.g3po.G3Contractitem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.sql.Timestamp;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: cc
 * @Date: 2024/05/21/9:38
 **/
@Mapper
public interface ContractItemMapper extends BaseMapper<G3Contractitem> {
    Timestamp getContractItemStart();


    List<G3Contractitem> getAllContractItems();

    //根据id获取合同费项表
    G3Contractitem getContractitemById(@Param("id") Integer id);

    //根据合同查询该合同下所有计费项
    List<G3Contractitem> getAllContractItemsByContract(@Param("c") G3Contract g3Contract);





}
